package com.ruoyi.syf.service;

import java.util.List;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.syf.domain.RiskCheckTask;
import com.ruoyi.syf.domain.vo.RiskCheckTaskVo;

/**
 * 排查定时任务Service接口
 *
 * @author yr
 * @date 2024-07-31
 */
public interface IRiskCheckTaskService extends IService<RiskCheckTask> {

    List<RiskCheckTaskVo> list(RiskCheckTask riskCheckTask);

    Boolean addOrUpdateTask(RiskCheckTaskVo vo) throws IllegalAccessException;

    /**
     * 停止/启动任务
     */
    boolean upStatus(Long id) throws IllegalAccessException;

    boolean deleteById(Long id);

    boolean deleteByIds(List<Long> ids);

}
